<!DOCTYPE html>
<html>
<head>
<title>{$uinfo.user_login} - 个人中心</title>
<meta name="keywords" content=""/>
<meta name="description" content="">
<include file="public@head"/>
<style>
.control-label {
	font-weight: bold;
	float: left;
	width: 70px;
}
</style>
</head>
<body class="body-white" id="top">
<include file="public@nav" />
	<div class="container tc-main">
		<div class="row">
			<div class="col-md-3">
				<include file="public@lsnav" />
			</div>
			<div class="col-md-9">
				<div class="tabs">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-list-alt"></i>收银汇总</a></li>
					</ul>
					<div class="tab-content">
						<div class="tab-pane active" id="one">
							<br>
							<div class="row">
								
							<div class="col-md-9">
								
<div class="wrap js-check-wrap" style="width:1163px;margin:30px auto 30px auto">		
		<form class="well form-inline margin-top-20" method="post" action="{:url('Stream/statis')}">
		<!--  收银员:
        <input type="text" class="form-control" name="operator" id="operator" style="width: 120px;" value="" placeholder=""> -->		                    
                     时间:
        <input type="text" class="form-control js-bootstrap-datetime" name="start_time" id="start_time" value="{$start_time|default=''}" style="width: 140px;" autocomplete="off">-
        <input type="text" class="form-control js-bootstrap-datetime" name="end_time"   id="end_time" value="{$end_time|default=''}" style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;         
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:url('Stream/statis')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="40">ID</th>
					<th align="left">收银员</th>
					<th align="left">店铺</th>
					<th align="left">销售金额</th>
					<th align="left">付款金额</th>
					<th align="left">优惠金额</th>
					<th align="left">实收金额</th>
					<th align="left">找零金额</th>			
					<th align="left">生成时间</th>
					<th align="left">操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{:get_operator_data($vo['operatorid'],'user_login')}</td><!-- 店铺 -->
					<td>{:get_store_data($vo['storeid'],'store_name')}</td><!-- 店铺 -->
					<td>{$vo.totalMoney}</td>
					<td>{$vo.actualMoney}</td>
					<td>{$vo.discount}</td>
					<td>{$vo.getMoney}</td>
					<td>{$vo.giveChange}</td>					
					<td>{$vo.ctime|time_format}</td>
					<td>
						<a href="javascript:parent.openIframeLayer('{:url('Stream/supply',array('id'=>$vo['id']))}',{});">修订流水</a>												
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>










							</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<include file="public@footer" />
	</div>
<!-- /container -->
<include file="public@scripts" />
</body>
</html>